package org.example.demoarticle.Service;

import org.example.demoarticle.pojo.Article;
import org.example.demoarticle.pojo.ArticleInsert;
import org.example.demoarticle.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface ArticleService {
    PageBean pageList(String username, String usertype, Integer current, Integer pageSize, String className, String creator, String category, String stem, LocalDate fromDate, LocalDate toDate);

    void delete(Integer id);

    void Insert(ArticleInsert article);

    void Update(Integer id, ArticleInsert article);

    Article Select(Integer id);
}
